home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / UTILITIES / TASKBASIC.ARC / !TaskBASIC / !Help < prev    next >
Text File  |  1996-01-29  |  2KB  |  59 lines

  1.                                TaskBASIC
  2.                                =========
  3.  
  4.                             By Reuben Thomas
  5.  
  6. TaskBASIC introduces a new filetype for BASIC files that causes them to run in
  7. a task window when double-clicked or *Run.
  8.  
  9. TaskBASIC is public domain, and comes with no warranty.
  10.  
  11.  
  12. Usage
  13. ~~~~~
  14.  
  15. Put !TaskBASIC in your boot sequence (i.e. make sure it is Run, Filer_Run, or
  16. best, Filer_Booted). Now, setting the type of a BASIC file to &0ba (or
  17. "TaskBAS") will cause the program to run in a task window when it is run. The
  18. load action (using *Load) is the same as for ordinary BASIC files.
  19.  
  20. If you use Zap (and if not, why don't you?), you should add the filetype 0BA
  21. (name Task BASIC) to the filetypes list to ensure that TaskBAS files are loaded
  22. in BASIC mode for editing. Other good editors (i.e. not Edit!) should be able to
  23. be configured similarly.
  24.  
  25.  
  26. Why I wrote it
  27. ~~~~~~~~~~~~~~
  28.  
  29. When I switched from Menon to Director, I wanted to retain the ability to run
  30. BASIC programs in a task window (with Menon, you hold down ALT while double-
  31. clicking on the program). It seems to me that most BASIC programs you use
  32.  
  33.   i) Always running normally (e.g. if they take over the screen), or
  34.  ii) As *-commands, hence running normally from a task window or the command
  35.      line, or
  36. iii) Running in a task window every time.
  37.  
  38. In cases i and ii the normal behaviour of a BASIC program when invoked by
  39. double-clicking or from the command-line is sufficient. It is for case iii that
  40. TaskBASIC caters. When Filer_Booted ("seen" by the Filer) it simply installs
  41. icons for the filetype &0BA, and load and run actions for that filetype that are
  42. identical to those for BASIC programs, except that they are performed in a task
  43. window.
  44.  
  45.  
  46. The filetype
  47. ~~~~~~~~~~~~
  48.  
  49. Filetype &0BA is a User filetype. If you use this type for anything else, you
  50. should rename the sprites in files !Sprites and !Sprites22 and change the
  51. occurrences of 0BA in !Boot appropriately.
  52.  
  53.  
  54. The author
  55. ~~~~~~~~~~
  56.  
  57. I am contactable until July 1998 at least as
  58.  
  59. rrt1001@cam.ac.uk